package com.kylin.controller;


import com.kylin.entity.Employee;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author Kylin
 * @since 2020-04-21
 */
@RestController
@RequestMapping("/employee")
public class EmployeeController {

    @GetMapping("/auto")
    public Employee auto(Employee employee){
        return employee;
    }
}

